package com.zq.fanxing;

/**
 * 泛型
 */
public class FanXingTest {
    public static void main(String[] args) {
//        int[] arr = {4, 2, 66, 3, 22, 45, 672, 1};
      /*  double[] arr = {4.3, 2.1, 66.33, 3.32, 22.33, 45.33, 672.33, 1};
        for (double i : arr) {
            System.out.print(i+"\t");
        }
        System.out.println();
        Methods.maoPao(arr);
        for (double i : arr) {
            System.out.print(i+"\t");
        }*/

       /* Integer[] arr = {4, 2, 66, 3, 22, 45, 672, 1};
        FanXingMethods.pringArray(arr);*/


//        Double[] arr = {4.3, 2.1, 66.33, 3.32, 22.33, 45.33, 672.33, 1.3};
        Integer[] arr = {4, 2, 66, 3, 22, 45, 672, 1};
        for (int i : arr) {
            System.out.print(i+"\t");
        }
        System.out.println();
        Methods.maoPaoFanXing(arr);
        for (int i : arr) {
            System.out.print(i+"\t");
        }
    }
}


